package com.wuzheng.wisgo.sanitation.cloud.service.person;

import com.wuzheng.wisgo.sanitation.cloud.model.person.param.LoginParam;
import com.wuzheng.wisgo.sanitation.cloud.model.person.pojo.LoginReturnDto;
import com.wuzheng.wisgo.sanitation.cloud.repository.entity.person.User;
import com.wuzheng.wisgo.sanitation.framework.base.service.BaseService;
/**
 * @author：hibon
 * @date：Created in 2019-09-22
 * @description：用户信息 服务类
 * @modified By：
 * @version: 1.0
 */
public interface UserService extends BaseService<User> {

    /**
     * 查询用户信息
     * @param loginParam
     * @return
     */
    LoginReturnDto selectUser(LoginParam loginParam);

    /**
     * 根据token查询用户信息
     * @param token
     * @return
     */
    User getToken(String token);

}
